import request from '@/utils/request'
//思政体系接口
export function sysIdeologicalEducationQuery(data) { //思政体系信息分页列表
    return request({
        method: 'get',
        url: '/sysIdeologicalEducation/query',
        params: data
    })
}

export function sysIdeologicalEducationQueryContentList(data) { //思政体系信息分页列表
    return request({
        method: 'get',
        url: '/sysIdeologicalEducation/queryContentList',
        params: data
    })
}

export function sysIdeologicalEducationQueryById(id) { //查询一条思政体系信息
    return request({
        method: 'get',
        url: '/sysIdeologicalEducation/query/' + id,
    })
}

export function sysIdeologicalEducationAdd(data) { //添加一条思政体系信息
    return request({
        method: 'post',
        url: '/sysIdeologicalEducation/add',
        data
    })
}

export function sysIdeologicalEducationDelete(id) { //删除一条思政体系信息
    return request({
        method: 'get',
        url: '/sysIdeologicalEducation/delete/' + id,
    })
}

export function sysIdeologicalEducationUpdate(data) { //修改一条思政体系信息
    return request({
        method: 'post',
        url: '/sysIdeologicalEducation/update',
        data
    })
}